package com.draemoncode.weixindb.busiutil;


import com.draemoncode.weixindb.mvc.easyuivo.DataListVO;

import java.util.List;

public class VOUtil {

    public static DataListVO conventDataListVO(int total, List list){
        DataListVO result = new DataListVO();
        if(list != null){
            result.setTotal(total);
            result.setRows(list);
        }
        return result;
    }

}
